package com.ruoyi.business.service;


import com.ruoyi.business.domain.TSmjGoodList;

import java.util.List;

/**
 * 售卖机物品信息Service接口
 * 
 * @author admin
 * @date 2024-10-24
 */
public interface ITSmjGoodListService 
{
    /**
     * 查询售卖机物品信息
     * 
     * @param id 售卖机物品信息ID
     * @return 售卖机物品信息
     */
    public TSmjGoodList selectTSmjGoodListById(Long id);

    /**
     * 查询售卖机物品信息列表
     * 
     * @param tSmjGoodList 售卖机物品信息
     * @return 售卖机物品信息集合
     */
    public List<TSmjGoodList> selectTSmjGoodListList(TSmjGoodList tSmjGoodList);

    public List<TSmjGoodList> selectTSmjGoodListListByNoAuth(TSmjGoodList tSmjGoodList);
    /**
     * 新增售卖机物品信息
     * 
     * @param tSmjGoodList 售卖机物品信息
     * @return 结果
     */
    public int insertTSmjGoodList(TSmjGoodList tSmjGoodList);

    /**
     * 修改售卖机物品信息
     * 
     * @param tSmjGoodList 售卖机物品信息
     * @return 结果
     */
    public int updateTSmjGoodList(TSmjGoodList tSmjGoodList);

    /**
     * 批量删除售卖机物品信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTSmjGoodListByIds(String ids);

    /**
     * 删除售卖机物品信息信息
     * 
     * @param id 售卖机物品信息ID
     * @return 结果
     */
    public int deleteTSmjGoodListById(Long id);

    public int deleteTSmjGoodListByMachineIds(String ids);

    public int deleteTSmjGoodListByMachineId(long id);


    public TSmjGoodList selectTSmjGoodListListByLimit(TSmjGoodList tSmjGoodList);

    public int updateTSmjGoodNum(TSmjGoodList tSmjGoodList);

}
